package org.jeecg.modules.param.maintain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 运维开关锁记录
 * @Author: 月月鸟
 * @Date:   2021-07-13
 * @Version: V1.0
 */
@Data
@ApiModel(value="运维开关锁记录", description="运维开关锁记录")
public class BikePileLockRsp implements Serializable {
    private static final long serialVersionUID = 1L;
	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

	/**开锁人ID*/
    @ApiModelProperty(value = "开锁人ID")
    private String pickUser;
    /**用户账号*/
    @Excel(name = "用户账号", width = 15)
    @ApiModelProperty(value = "用户账号")
    private String pickUserCode;
    /**姓名*/
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "用户姓名")
    private String pickUserName;
    /**手机号*/
    @Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String pickUserPhone;


	/**开锁车桩ID*/
    @ApiModelProperty(value = "开锁车桩ID")
    private String pickPile;
    /**开锁网点*/
    @Excel(name = "开锁网点", width = 15)
    @ApiModelProperty(value = "开锁网点")
    private String pickStationCode;
    /**开锁车桩*/
    @Excel(name = "开锁车桩", width = 15)
    @ApiModelProperty(value = "开锁车桩")
    private String pickPileCode;
    /**开锁时间*/
    @Excel(name = "开锁时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开锁时间")
    private java.util.Date pickTime;

    /**关锁车桩ID*/
    @ApiModelProperty(value = "关锁车桩ID")
    private String parkPile;
    /**关锁网点*/
    @Excel(name = "关锁网点", width = 15)
    @ApiModelProperty(value = "关锁网点")
    private String parkStationCode;
    /**关锁车桩*/
    @Excel(name = "关锁车桩", width = 15)
    @ApiModelProperty(value = "关锁车桩")
    private String parkPileCode;
	/**关锁时间*/
	@Excel(name = "关锁时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "关锁时间")
    private java.util.Date parkTime;

	/**开锁方式*/
	@Excel(name = "开锁方式", width = 15,dicCode = "admin_use_type")
    @ApiModelProperty(value = "开锁方式(1扫码开锁2管理卡开锁3后台开锁4后台关锁5首次上车)")
    @Dict(dicCode = "admin_use_type")
    private String useType;
	/**开锁时长(分钟)*/
	//@Excel(name = "开锁时长(分钟)", width = 15)
    @ApiModelProperty(value = "开锁时长(分钟)")
    private Integer useLong;

	/**车辆id*/
    @ApiModelProperty(value = "车辆id")
    private String vehicleId;
    /**车辆编号*/
    @Excel(name = "车辆编号", width = 15)
    @ApiModelProperty(value = "车辆编号")
    private String vehicleCode;
    /**车辆类型*/
    @Excel(name = "车辆类型", width = 15,dicCode = "bike_type")
    @ApiModelProperty(value = "车辆类型")
    @Dict(dicCode = "bike_type")
    private String vehicleType;
	/**车辆状态(1维护中2已维护)*/
	@Excel(name = "车辆状态", width = 15,dicCode = "bike_status")
    @ApiModelProperty(value = "车辆状态(1维护中2已维护)")
    @Dict(dicCode = "bike_status")
    private String vehicleStatus;

    /**开始时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private java.util.Date startTime;
    /**结束时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private java.util.Date endTime;
}
